jquery scrolltop animate

70

jquery scrolltop animate -

var body = $("html, body");
body.stop().animate({scrollTop:0}, 500, 'swing', function() { 
   alert("Finished animating");
});

Comments

Submit
0 Comments